package cglib.abstractdemo.test;

import cglib.abstractdemo.dao.Actor;
import cglib.abstractdemo.dao.impl.MovieStar;
import cglib.abstractdemo.proxy.MovieStarProxy;

public class MovieStarDemo {

    public static void main(String[] args) {

        Actor actor = new MovieStar("成龙","功夫片");
        actor = (Actor) new MovieStarProxy().newProxyInstance(actor);
        actor.act();
    }
}
